<#include "/admin/common/_layout.ftl" />
<@layout page_tab="userList">

<title>LLK科技 | 用户管理</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"/>
<!-- Bootstrap 3.3.6 -->
<link rel="stylesheet" href="/admin/AdminLTE-mini/bootstrap/css/bootstrap.min.css"/>
<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css"/>
<!-- Ionicons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css"/>



<!-- Theme style -->
<link rel="stylesheet" href="/admin/AdminLTE-mini/dist/css/AdminLTE.min.css"/>
<!-- AdminLTE Skins. We have chosen the skin-blue for this starter
      page. However, you can choose any other skin. Make sure you
      apply the skin class to the body tag so the changes take effect.
-->
<link rel="stylesheet" href="/admin/AdminLTE-mini/dist/css/skins/skin-red.min.css"/>

<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->

<!-- DataTables -->
<link rel="stylesheet" href="/admin/AdminLTE-mini/plugins/datatables/dataTables.bootstrap.css">





<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
        <h1>
            用户管理
            <small>用户列表</small>
        </h1>
        <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i> 主页</a></li>
            <li><a href="#">用户管理</a></li>
            <li class="active">用户列表</li>
        </ol>
    </section>

    <!-- Main content -->
    <section class="content">
        <div class="row">
            <div class="col-xs-12">

                <div class="box">
                    <div class="box-header">
                        <h3 class="box-title">所有用户列表</h3>
                    </div>
                    <!-- /.box-header -->
                    <div class="box-body">
                        <table id="example" class="table table-bordered table-striped">


                            <thead>
                            <tr>

                                <th>id</th>
                                <th>姓名</th>
                                <th>昵称</th>
                                <th>性别</th>
                                <th>密码</th>
                            </tr>
                            </thead>




                            <tfoot>
                            <tr>
                                <th>id</th>
                                <th>姓名</th>
                                <th>昵称</th>
                                <th>性别</th>
                                <th>密码</th>
                            </tr>
                            </tfoot>
                        </table>
                    </div>
                    <!-- /.box-body -->
                </div>
                <!-- /.box -->
            </div>
            <!-- /.col -->
        </div>
        <!-- /.row -->
    </section>
    <!-- /.content -->
</div>
<!-- /.content-wrapper -->


<!-- REQUIRED JS SCRIPTS -->

<!-- jQuery 2.2.3 -->
<script src="/admin/AdminLTE-mini/plugins/jQuery/jquery-2.2.3.min.js"></script>
<!-- Bootstrap 3.3.6 -->
<script src="/admin/AdminLTE-mini/bootstrap/js/bootstrap.min.js"></script>
<!-- DataTables -->
<script src="/admin/AdminLTE-mini/plugins/datatables/jquery.dataTables.min.js"></script>
<script src="/admin/AdminLTE-mini/plugins/datatables/dataTables.bootstrap.min.js"></script>
<!-- SlimScroll -->
<script src="/admin/AdminLTE-mini/plugins/slimScroll/jquery.slimscroll.min.js"></script>
<!-- FastClick -->
<script src="/admin/AdminLTE-mini/plugins/fastclick/fastclick.js"></script>
<!-- AdminLTE App -->
<script src="/admin/AdminLTE-mini/dist/js/app.min.js"></script>
<!-- AdminLTE for demo purposes -->
<script src="/admin/AdminLTE-mini/dist/js/demo.js"></script>


<!-- Optionally, you can add Slimscroll and FastClick plugins.
     Both of these plugins are recommended to enhance the
     user experience. Slimscroll is required when using the
     fixed layout. -->


s


<!-- page script -->
<script>
    $(function () {
        $("#example").DataTable({
            pagingType:"full_numbers",
            "language": {
                "lengthMenu": "每页 _MENU_ 条记录",
                "zeroRecords": "没有找到记录",
                "info": "第 _PAGE_ 页 ( 总共 _PAGES_ 页 )",
                "infoEmpty": "无记录",
                "infoFiltered": "(从 _MAX_ 条记录过滤)",
                "search":"搜索:",
                "paginate": {
                    "previous": "上一页",
                    "next": "下一页",
                    "last":"最后一页",
                    "first":"第一页"
                }
            },
            "processing": true,
            "serverSide": true,
            "ajax": "list",
            "columns": [
                {"data": "id"},
                {"data": "userName",defaultContent:""},
                {"data": "nickName",defaultContent:""},
                {"data": "userSex",defaultContent:""},
                {"data": "passWord",defaultContent:""}
            ]
        });

    });
</script>

</@layout>
